#!/usr/bin/python
# -*- coding: utf-8 -*-
# coding:utf-8
import sys
reload(sys)
sys.setdefaultencoding('utf-8')

image_base_path = "/tmp/"
#  存文章资源的数据库
db_ip = "172.16.1.202"
db_port = 3309
db_username = "test"
db_password = "test"
db_use_table_name = "use toutiao"
db_database_name = "toutiao"
db_config_user ="cf_config_cms"

#sbs api
api_url_domain = "http://www.cuncunle.com/"
api_url_access_token = "oauth/token?grant_type=password"
api_url_file_upload = "api/user/fileUpload"
api_client_id = "3"
api_client_secret =  "88a26799c401ab11f988ffef5754e113"
api_username = "test100"
api_password = "111111"

#cms api
cms_api_domain = "http://cms.testccl.com/"
cms_api_token = "7f7edd15cba043c29d487235c2276eb1"
cms_api_uri = "outsideapi"
cms_api_count_limit = 600

status_wait = 0 #待处理
status_success = 1 #  处理成功
status_thread_error = 2 #  帖子有问题，不能发布